Hi Mateusz,
Yes that looks like a very nice chip for ~$4!
That should all theoretically work.
You would need a small program to convert the Servo Output from a signed number to sign and magnitude and output it to the PWM and the Direction output.
I suppose you could even generate the Hall signals from the encoder if your motor doesn't have hall sensors.
Good luck and let us know how it goes.
TK
Group: DynoMotion |
Message: 2280 |
From: mate_mos |
Date: 11/16/2011 |
Subject: Re: K-FLOP link to BLDC motor controller with PWM / DIR inputs |
Hello Tom,
Many thanks for swift response.
This is very encouraging massage, I'll build 3phase controller and use BLDC with Hall's included - just to simplify on the beginning.
I'm still discovering these all options and capabilities. It will take me a bit time to get first results, but I'll get there...
Would you mind to make draft of sample code with all required parameters/functions? This could help me understand more nomenclature and concept.
I'm learning C making just simple things at the moment....on 8bit MCU's
Many Thanks
Mateusz
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Mateusz,
> Â
> Yes that looks like a very nice chip for ~$4!
> Â
> That should all theoretically work.
> Â
> You would need a small program to convert the Servo Output from a signed number to sign and magnitude and output it to the PWM and the Direction output.
> Â
> I suppose you could even generate the Hall signals from the encoder if your motor doesn't have hall sensors.Â
> Â
> Good luck and let us know how it goes.
> TK
>
>
> ________________________________
> From: mate_mos <matemos@...>
> To: DynoMotion@yahoogroups.com
> Sent: Wednesday, November 16, 2011 4:20 AM
> Subject: [DynoMotion] K-FLOP link to BLDC motor controller with PWM / DIR inputs
>
>
> Â
> I'm happy owner of the K-Flop + K-Analog and I have to say this is really powerful gear!
> Because my boards are not equipped with power stage and I'm not planning buy unfortunately Snap Amps, in that reason I have to build electronic power stage my self.
> My question is about feasibility of the setup/connection K-Flop with BLDC motor controller such as A3930 (with PWM - speed control/ DIR - direction change)
> http://www.allegromicro.com/en/Products/Part_Numbers/3930/index.asp
>
> On JP6-Aux#1 we got available 8 PWM's, According to my observation in the K-Motion board they linked I belive to LMD18200 H-BRIDGEs.
> Please put me right if I'm wrong:
> If I link one of the PWM outputs from Connector JP6 with PWM input of the BLDC controller and Direction change input with one of the general I/Os.
> I presume I'll be able to control my BLDC in that way. Obvoiusly I have to drive 'Dir' output accorgingly to PWM duty level. After when this is done I could configure Motor - Axis mode to DC servo (output).
>
> Many thanks
> Mateusz
>
|
|
Group: DynoMotion |
Message: 2281 |
From: Tom Kerekes |
Date: 11/16/2011 |
Subject: Re: K-FLOP link to BLDC motor controller with PWM / DIR inputs |
Hi Mateusz,
Here is an example of how to convert the Servo Output and write it as signed magnitude to a PWM for one axis.
After your hardware is working we can help more :}
Regards
TK
Group: DynoMotion |
Message: 2284 |
From: mate_mos |
Date: 11/17/2011 |
Subject: Re: K-FLOP link to BLDC motor controller with PWM / DIR inputs |
Hello Tom,
Thank you very much for support, it will take me a bit time get this configuration put in motion, but obviously I let know how's it going.
Regards
Mateusz
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Mateusz,
> Â
> Here is an example of how to convert the Servo Output and write it as signed magnitude to a PWM for one axis.
> Â
> http://dynomotion.com/Software/CPrograms/OutputToPWM3axisSignMag.c
> Â
> After your hardware is working we can help more :}
> Â
> Regards
> TK
> Â
> Â
> Â
>
>
> ________________________________
> From: mate_mos <matemos@...>
> To: DynoMotion@yahoogroups.com
> Sent: Wednesday, November 16, 2011 3:06 PM
> Subject: [DynoMotion] Re: K-FLOP link to BLDC motor controller with PWM / DIR inputs
>
>
> Â
> Hello Tom,
>
> Many thanks for swift response.
> This is very encouraging massage, I'll build 3phase controller and use BLDC with Hall's included - just to simplify on the beginning.
> I'm still discovering these all options and capabilities. It will take me a bit time to get first results, but I'll get there...
> Would you mind to make draft of sample code with all required parameters/functions? This could help me understand more nomenclature and concept.
> I'm learning C making just simple things at the moment....on 8bit MCU's
>
> Many Thanks
> Mateusz
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Mateusz,
> > ÃÂ
> > Yes that looks like a very nice chip for ~$4!
> > ÃÂ
> > That should all theoretically work.
> > ÃÂ
> > You would need a small program to convert the Servo Output from a signed number to sign and magnitude and output it to the PWM and the Direction output.
> > ÃÂ
> > I suppose you could even generate theÃÂ Hall signals from the encoder if your motor doesn't have hall sensors.ÃÂ
> > ÃÂ
> > Good luck and let us know how it goes.
> > TK
> >
> >
> > ________________________________
> > From: mate_mos <matemos@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Wednesday, November 16, 2011 4:20 AM
> > Subject: [DynoMotion] K-FLOP link to BLDC motor controller with PWM / DIR inputs
> >
> >
> > ÃÂ
> > I'm happy owner of the K-Flop + K-Analog and I have to say this is really powerful gear!
> > Because my boards are not equipped with power stage and I'm not planning buy unfortunately Snap Amps, in that reason I have to build electronic power stage my self.
> > My question is about feasibility of the setup/connection K-Flop with BLDC motor controller such as A3930 (with PWM - speed control/ DIR - direction change)
> > http://www.allegromicro.com/en/Products/Part_Numbers/3930/index.asp
> >
> > On JP6-Aux#1 we got available 8 PWM's, According to my observation in the K-Motion board they linked I belive to LMD18200 H-BRIDGEs.
> > Please put me right if I'm wrong:
> > If I link one of the PWM outputs from Connector JP6 with PWM input of the BLDC controller and Direction change input with one of the general I/Os.
> > I presume I'll be able to control my BLDC in that way. Obvoiusly I have to drive 'Dir' output accorgingly to PWM duty level. After when this is done I could configure Motor - Axis mode to DC servo (output).
> >
> > Many thanks
> > Mateusz
> >
>
|
|
| | | |